@charset "utf-8";
$darker: #171717;
$darkgray: #515151;
$gray: #909090;
$light-gray: #c1c1c1;
$bgcolor: #eee;
$blue: #499af5;
$orange: #ffb30e;
$red: #e43f3f;
$white: #fff;
$black: #000;

#pubservice {
    background-image: url("../../../images/pc/demand/demandbg.jpg");
    background-repeat: no-repeat;
    background-position-y: 60px;
    .form-horizontal {
        .control-label {
            font-weight: normal;
            padding: 0;
            line-height: 50px;
        }
    }
    [data-pubservice="bg"] {
        background-color: $white;
        padding-bottom: 30px;
        text-align: center;
        h2 {
            font-size: 24px;
            line-height: 90px;
            margin-bottom: 10px;
            font-weight: normal;
        }
        [data-pubservice="fomecontainer"] {
            padding: 0 90px;
            .form-group {
                margin-bottom: 34px;
                input {
                    height: 50px;

                }
            }
            /** 服务详情 **/
            [data-pubservice="textarea"] {
                margin-bottom: 20px;
                textarea {
                    width: 100%;
                    padding: 10px;
                    height: 190px;
                    font-size: 14px;
                }
            }

            /** 底部按钮 **/
            [data-pubservice="footer"] {
                text-align: right;
                button {
                    margin-left: 20px;
                    font-size: 16px;
                }
            }
        }
        /** 摸态框通用 **/
        [data-modal="modal"] {
            width: 750px;
            height: 160px;
            border: 1px solid transparent;
            h2 {
                font-size: 28px;
                line-height: 74px;
                b {
                    height: 74px;
                    width: 76px;
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 10px;
                }
            }
        }
    }

}

/** 上传代表作品 **/
[data-demdetpub="pubservice_file"] {
    p {
        margin-bottom: 0;
        padding-left: 30px;
        font-size: 14px;
        color: $orange;
    }
}

#pubservice_file {
    margin-bottom: 20px;
    /** 通用 **/
    > div {
        width: 120px;
        height: 120px;
        float: left;
        position: relative;
        margin-right: 20px;
        img {
            width: inherit;
            height: inherit;
        }
        b {
            width: 38px;
            height: 38px;
            position: absolute;
            top: 41px;
            left: 41px;
        }
        [data-pubservice="close"] {
            width: 18px;
            height: 18px;
            position: absolute;
            top: -9px;
            right: -9px;
            background-image: url("../../../images/pc/icon/icon_close.png");
            cursor: pointer;
        }
    }
    /** 添加新作品 **/
    [data-pubservice="addfile"] {
        border: 1px dashed $light-gray;
        input {
            width: 120px;
            height: 120px;
            opacity: 0;
            filter: alpha(opacity=0);
            -moz-opacity: 0;
            -khtml-opacity: 0;
            cursor: pointer;
            z-index: 10;
            position: relative;
        }
        b {
            height: 50px;
            width: 50px;
            top: 35px;
            left: 35px;
            background-image: url("../../../images/pc/icon/icon_addimg.png");
        }
    }
}

/** 发布成功摸态框 **/
#pubservice_success {
    display: none;
    [data-modal="modal"] {
        h2 {
            margin-top: 28px;
            color: $orange;
            b {
                background-image: url("../../../images/pc/icon/icon_recruitsuc.png");
            }
        }
        p {
            line-height: 50px;
        }
    }
}

/** 作品删除摸态框 **/
#pubservice_close {
    display: none;
    [data-modal="modal"] {
        h2 {
            margin-top: 43px;
            color: #5098cd;
            b {
                background-image: url("../../../images/pc/icon/icon_delsuccess.png");
            }
        }
    }
}